Optimal. Leaf size=64 \[ -\frac {\cosh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \cosh ^{-1}(a x)^2-\frac {x \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{2 a}+\frac {x^2}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.25, antiderivative size = 64, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5662, 5759, 5676, 30} \[ -\frac {\cosh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \cosh ^{-1}(a x)^2-\frac {x \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{2 a}+\frac {x^2}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5662
Rule 5676
Rule 5759
Rubi steps
\begin {align*} \int x \cosh ^{-1}(a x)^2 \, dx &=\frac {1}{2} x^2 \cosh ^{-1}(a x)^2-a \int \frac {x^2 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx\\ &=-\frac {x \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{2 a}+\frac {1}{2} x^2 \cosh ^{-1}(a x)^2+\frac {\int x \, dx}{2}-\frac {\int \frac {\cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{2 a}\\ &=\frac {x^2}{4}-\frac {x \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{2 a}-\frac {\cosh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \cosh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 58, normalized size = 0.91 \[ \frac {a^2 x^2+\left (2 a^2 x^2-1\right ) \cosh ^{-1}(a x)^2-2 a x \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{4 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 73, normalized size = 1.14 \[ \frac {a^{2} x^{2} - 2 \, \sqrt {a^{2} x^{2} - 1} a x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) + {\left (2 \, a^{2} x^{2} - 1\right )} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2}}{4 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 58, normalized size = 0.91 \[ \frac {\frac {a^{2} x^{2} \mathrm {arccosh}\left (a x \right )^{2}}{2}-\frac {\mathrm {arccosh}\left (a x \right ) a x \sqrt {a x -1}\, \sqrt {a x +1}}{2}-\frac {\mathrm {arccosh}\left (a x \right )^{2}}{4}+\frac {a^{2} x^{2}}{4}}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{2} \, x^{2} \log \left (a x + \sqrt {a x + 1} \sqrt {a x - 1}\right )^{2} - \int \frac {{\left (a^{3} x^{4} + \sqrt {a x + 1} \sqrt {a x - 1} a^{2} x^{3} - a x^{2}\right )} \log \left (a x + \sqrt {a x + 1} \sqrt {a x - 1}\right )}{a^{3} x^{3} + {\left (a^{2} x^{2} - 1\right )} \sqrt {a x + 1} \sqrt {a x - 1} - a x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int x\,{\mathrm {acosh}\left (a\,x\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.49, size = 60, normalized size = 0.94 \[ \begin {cases} \frac {x^{2} \operatorname {acosh}^{2}{\left (a x \right )}}{2} + \frac {x^{2}}{4} - \frac {x \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}{\left (a x \right )}}{2 a} - \frac {\operatorname {acosh}^{2}{\left (a x \right )}}{4 a^{2}} & \text {for}\: a \neq 0 \\- \frac {\pi ^{2} x^{2}}{8} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________